package beautiful.butterfly.distributed_task_processing_engine.zookeeper;

public class Version
{
    //机制确定
    public final static String version = "schedule-0.0.01";

    public static String getVersion()
    {
        return version;
    }

    /**
     * 兼容的,高兼容低
     */
    public static boolean isCompatible(String version)
    {
        if (Version.version.compareTo(version) >= 0)
        {
            return true;
        } else
        {
            return false;
        }
    }

}
